import { AttributeTabsModel } from "./AttributeTabsModel";

export abstract class PaneModel {
  loaded = false;
  loading = false;
  constructor(public tabsModel: AttributeTabsModel) {}
  /**
   * 如果未加载数据则加载数据
   */
  abstract loadDataWhenNotLoad(): Promise<void>;
  /**
   * 刷新数据
   */
  abstract fresh(): Promise<void>;

  /**
   * 清空数据
   */
  abstract clear(): Promise<void>;
}
